list02 = [2, 3, 4, 6]

result01 = [item for item in list02 if item > 3]
print(result01)

generator = (item for item in list02 if item > 3)
for item in generator:
    print(item)
